{"ast":null,"code":"var __rest = this && this.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport { ConfigContext } from '../config-provider';\nimport panelRender from './panelRender';\nimport { RawPurePanel as PopoverRawPurePanel } from '../popover/PurePanel';\nimport useStyle from './style';\nconst PurePanel = props => {\n  const {\n      prefixCls: customizePrefixCls,\n      current = 0,\n      total = 6,\n      className,\n      style,\n      type\n    } = props,\n    restProps = __rest(props, [\"prefixCls\", \"current\", \"total\", \"className\", \"style\", \"type\"]);\n  const {\n    getPrefixCls\n  } = React.useContext(ConfigContext);\n  const prefixCls = getPrefixCls('tour', customizePrefixCls);\n  const [wrapSSR, hashId] = useStyle(prefixCls);\n  const node = panelRender(Object.assign(Object.assign({}, restProps), {\n    prefixCls,\n    total\n  }), current, type);\n  return wrapSSR( /*#__PURE__*/React.createElement(PopoverRawPurePanel, {\n    prefixCls: prefixCls,\n    hashId: hashId,\n    className: classNames(className, `${prefixCls}-pure`, type && `${prefixCls}-${type}`),\n    style: style\n  }, node));\n  // return node as React.ReactElement;\n};\n\nexport default PurePanel;","map":{"version":3,"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","React","classNames","ConfigContext","panelRender","RawPurePanel","PopoverRawPurePanel","useStyle","PurePanel","props","prefixCls","customizePrefixCls","current","total","className","style","type","restProps","getPrefixCls","useContext","wrapSSR","hashId","node","assign","createElement"],"sources":["/data/messenger.client/node_modules/antd/es/tour/PurePanel.js"],"sourcesContent":["var __rest = this && this.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport { ConfigContext } from '../config-provider';\nimport panelRender from './panelRender';\nimport { RawPurePanel as PopoverRawPurePanel } from '../popover/PurePanel';\nimport useStyle from './style';\nconst PurePanel = props => {\n  const {\n      prefixCls: customizePrefixCls,\n      current = 0,\n      total = 6,\n      className,\n      style,\n      type\n    } = props,\n    restProps = __rest(props, [\"prefixCls\", \"current\", \"total\", \"className\", \"style\", \"type\"]);\n  const {\n    getPrefixCls\n  } = React.useContext(ConfigContext);\n  const prefixCls = getPrefixCls('tour', customizePrefixCls);\n  const [wrapSSR, hashId] = useStyle(prefixCls);\n  const node = panelRender(Object.assign(Object.assign({}, restProps), {\n    prefixCls,\n    total\n  }), current, type);\n  return wrapSSR( /*#__PURE__*/React.createElement(PopoverRawPurePanel, {\n    prefixCls: prefixCls,\n    hashId: hashId,\n    className: classNames(className, `${prefixCls}-pure`, type && `${prefixCls}-${type}`),\n    style: style\n  }, node));\n  // return node as React.ReactElement;\n};\n\nexport default PurePanel;"],"mappings":"AAAA,IAAIA,MAAM,GAAG,IAAI,IAAI,IAAI,CAACA,MAAM,IAAI,UAAUC,CAAC,EAAEC,CAAC,EAAE;EAClD,IAAIC,CAAC,GAAG,CAAC,CAAC;EACV,KAAK,IAAIC,CAAC,IAAIH,CAAC,EAAE,IAAII,MAAM,CAACC,SAAS,CAACC,cAAc,CAACC,IAAI,CAACP,CAAC,EAAEG,CAAC,CAAC,IAAIF,CAAC,CAACO,OAAO,CAACL,CAAC,CAAC,GAAG,CAAC,EAAED,CAAC,CAACC,CAAC,CAAC,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